package com.jinhongone.pattern.behavior.mediator;

/**
 * @author jinho
 * @className Person
 * @description 抽象同事类（colleague）
 * @date 2025/4/16 16:52
 */
public abstract class Person {
    //同事名
    protected String name;
    //关联得中介
    protected Mediator mediator;

    public Person(String name, Mediator mediator) {
        this.name = name;
        this.mediator = mediator;
    }
}
